package com.tulingxueyuan.mall.dto;

import com.tulingxueyuan.mall.modules.oms.model.OmsCartItem;
import com.tulingxueyuan.mall.modules.ums.model.UmsMemberReceiveAddress;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.List;
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ConfimOrderDto确认订单", description="确认订单页面")
public class ConfimOrderDto {
    @ApiModelProperty(value = "商品列表")
    private List<OmsCartItem> cartItemList;
    @ApiModelProperty(value = "总数量")
    private Integer productTotal;
    @ApiModelProperty(value = "金额")
    private BigDecimal priceTotal;
    @ApiModelProperty(value = "运费")
    private BigDecimal freightAmount;
    @ApiModelProperty(value = "应付总金额")
    private BigDecimal payAmount;
    @ApiModelProperty(value = "地址列表")
    private List<UmsMemberReceiveAddress> memberReceiveAddressList;
}
